<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./vue.js"></script>
</head>
<body>
    <div id="app">
        <!-- 下拉单选框， -->
        <select name="city" v-model="city">
            <option value="武汉">武汉</option>
            <option value="广州">广州</option>
            <option value="深圳">深圳</option>
            <option value="上海">上海</option>
        </select>

        <!-- 下拉多选框 -->
        <br>
        <select name="food" multiple v-model="food">
            <option value="热干面">热干面</option>
            <option value="煎包">煎包</option>
            <option value="煎饺">煎饺</option>
            <option value="混沌">混沌</option>
        </select>
    </div>

    <script>
        Vue.config.productionTip = false;
        const vm = new Vue({
            el:'#app',
            data(){
                return{
                    city:"",
                    food:[]
                }
            }
        })
    </script>
</body>
</html>